package com.park.dao.question;

import java.util.List;

import com.park.client.model.question.QuestionAnswerModel;
import com.park.dao.base.BaseMapper;

public interface QuestionAnswerMapper extends BaseMapper<QuestionAnswerModel>{

    List<Integer> selectByQuestionId(Integer questionId);

    /**
     *检查用户是否回答过
     * @param record
     * @return
     */
    QuestionAnswerModel selectIsExists(QuestionAnswerModel record);
}